|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.vtp.desktop.projects.core.internals.VoiceResource
org.eclipse.vtp.desktop.projects.core.internals.DatabaseSet
public class DatabaseSet
This is a concrete implementation of IDatabaseSet
and provides the default behavior of that interface.
| Constructor Summary | |
|---|---|
DatabaseSet(VoiceToolsDesignProject project,
org.eclipse.core.resources.IFolder folder)
Creates a new DatabaseSet with the given application
project and eclipse folder resource. |
|
| Method Summary | |
|---|---|
IDatabase |
createDatabase(java.lang.String name)
Creates a new database folder resource with the given name. |
void |
deleteDatabase(IDatabase database)
Removes the given database from this application. |
java.util.List |
getDatabases()
|
java.lang.String |
getName()
|
protected java.lang.String |
getObjectId()
The object id is used by the event system to uniquely identify a project resource. |
IVoiceToolsResource |
getParent()
Returns the parent of this resource. |
| Methods inherited from class org.eclipse.vtp.desktop.projects.core.internals.VoiceResource |
|---|
addRefreshListener, deferEvents, finalize, getAdapter, getProject, processObjectEvent, refresh, removeRefreshListener, resumeEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.vtp.desktop.projects.core.IVoiceToolsResource |
|---|
addRefreshListener, deferEvents, getProject, refresh, removeRefreshListener, resumeEvents |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Constructor Detail |
|---|
public DatabaseSet(VoiceToolsDesignProject project,
org.eclipse.core.resources.IFolder folder)
DatabaseSet with the given application
project and eclipse folder resource.
project - The parent application projectfolder - The eclipse folder resource this database set represents| Method Detail |
|---|
public java.lang.String getName()
getName in interface IVoiceToolsResourceprotected java.lang.String getObjectId()
VoiceResource
getObjectId in class VoiceResourcepublic IVoiceToolsResource getParent()
IVoiceToolsResourcethis.
getParent in interface IVoiceToolsResourcepublic java.util.List getDatabases()
getDatabases in interface IDatabaseSetIDatabases that are defined in
this application project
public IDatabase createDatabase(java.lang.String name)
throws org.eclipse.core.runtime.CoreException
IDatabaseSet
createDatabase in interface IDatabaseSetname - The name of the database folder resource
org.eclipse.core.runtime.CoreException - If an error occured during the creation of
the required file or folder resources of the database definitionpublic void deleteDatabase(IDatabase database)
IDatabaseSet
deleteDatabase in interface IDatabaseSetdatabase - The database definition to remove
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||